function addFc() {
    var data = {};
    data.type = $("#type").val();
    data.title = $("#title").val();
    data.author = $("#author").val();
    data.content = $("#content").val();
    data.releaseTime = $("#releaseTime").val();
    $.ajax({
        url:'/back/facilities/facilitiesAdd',
        data:data,
        type:'post',
        dataType:'json',
        success:function (data) {
            if (data.result === 1) {
                alert("添加成功!!");
                $("#right").load('/back/facilities/facilitiesManage.html');
            }else{
                alert("添加失败！")
            }
        }
    })
}
function cancelFcAdd() {
    $("#right").load('/back/facilities/facilitiesManage.html');
}